package com.huike.review.service;

import com.huike.common.core.page.TableDataInfo;
import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {

    void insertParam(String name, Integer age, String sex);
    void insertData(MybatisReviewVO mybatisReviewVO);
    void updateData(MybatisReviewVO mybatisReviewVO);
    void deleteData(Long id);
    Review selectByid(Long id);
    TableDataInfo selectPage(Integer pageNum,Integer pageSize);

}
